package models

import (
	"goapp-web-server/app/utils/orm"
)

type CmsCategory struct {
	Model        `xorm:"extends"`
	CategoryTag  string `json:"tag" xorm:"tag"`
	CategoryName string `json:"name" xorm:"name"`
}

func (u CmsCategory) TableName() string {
	return "cms_category"
}

func init() {
	orm.RegisterModel(&CmsCategory{})
}
